package com;

import com.intelligt.modbus.jlibmodbus.utils.DataUtils;

public class ByteConverTest {

    static public void main(String[] argv) {
        int a = 0x00000101;

        int fun = 0x0101;

        int changeMeterTotalLength = 0xD007; //0x0000; //2000
        int changeMeterHeadLength = 0xE803;// 0X0000

        int funValue = DataUtils.getOndHolderConvert(a);
        int changeMeterSwitch = funValue >> 8;
        int changeMeterHeadTailSwitch = (funValue & 0xff);

        int b=0;
        b=0;
    }


}
